package study.saas.order.repo;

import study.saas.common.repo.BaseRepoV2;
import study.saas.order.entity.Commodity;

/**
 * @author ctc
 */
public interface CommodityRepo extends BaseRepoV2<Commodity, String> {
    /**
     * 根据名称查询
     * @param name 名称
     * @return
     */
    Commodity findFirstByCommodityName(String name);
}
